<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript">
        window.onload = function() {
            var divObj = document.getElementById("myDiv");

            // alert(divObj.innerHTML);

            // DOM对象转Jquery对象,这个时候divObjJQ对象
            var divObjJQ = $(divObj);

            alert(divObjJQ.html());
        }
    </script>

</head>

<body>
    <div id="myDiv">
        HelloWorld,Text
    </div>
</body>

</html>